#![allow(dead_code)]

pub fn init() {
    dotenvy::dotenv().unwrap();
}

pub fn db_url() -> String {
    get_value("DB_URL")
}
pub fn host() -> String {
    get_value("Host")
}
pub fn log() -> String {
    get_value("LOG")
}

fn get_value(key: &str) -> String {
    dotenvy::var(key).unwrap()
}
